<template>
  <div class="page-wrapper">
    <TestField
      v-if="checkBankAmount"
      checkProp="bankAmount"
      checkLabel="银行金额校验"
      :checkCallback="checkBankAmount"
    ></TestField>
  </div>
</template>

<script>
import { TestField } from "@/components/fields";
import { CommonValidator } from "@/libs/validator";

export default {
  name: "TransValidate",
  components: {
    TestField,
  },
  data() {
    const { checkBankAmount } = new CommonValidator();

    return {
      checkBankAmount: checkBankAmount("您输入的金额不合法"),
    };
  },
};
</script>

<style lang="scss" scoped></style>
